//package sicnu.cs.ich.gateway.filter;
//
//import org.springframework.cloud.gateway.filter.GatewayFilter;
//import org.springframework.cloud.gateway.filter.factory.AbstractNameValueGatewayFilterFactory;
//import org.springframework.http.server.reactive.ServerHttpRequest;
//
///**
// * @author CaiKe
// * @date 2021/12/25 15:09
// */
//public class TokenExistGatewayFilterFactory extends AbstractNameValueGatewayFilterFactory {
//
//    @Override
//    public GatewayFilter apply(NameValueConfig config) {
//        // TODO 没啥用
//        return ((exchange, chain) -> {
//            final ServerHttpRequest request = exchange.getRequest();
////            request.get
//
//            return chain.filter(exchange);
//        });
//    }
//}